Reference

class
<chrono>

std::chrono::hours

typedef duration < /*see rep below*/, ratio<3600,1> > hours;
Duration in hours
Instantiation of duration to represent hours.

It is a typedef of an instantiation of duration with the following member types:

Member types

member typedefinitiondescription
repA signed integral type of at least 23 bitsRepresentation type
periodratio<3600,1>A ratio of 3600:1 with seconds

See also

duration
Duration (class template)
minutes
Duration in minutes (class)
seconds
Duration in seconds (class)
milliseconds
Duration in milliseconds (class)
microseconds
Duration in microseconds (class)
nanoseconds
Duration in nanoseconds (class)

AltStyle によって変換されたページ (->オリジナル) /